﻿using System;
using System.Collections.Generic;
using Survey.Model.SurveyEntities;

namespace Survey.Model.EntriesEntities
{
    public class Student
    {
        public Student()
        {
            Id = Guid.NewGuid();
        }
        
        public virtual Guid Id { get; private set; }
        public virtual String Name { get; set; }
        public virtual School School { get; set; }
        public virtual int Age { get; set; }
        public virtual StudentClass StudentClass { get; set; }

        private IList<Questionary> _questionary = new List<Questionary>();
        public virtual IList<Questionary> Questionary
        {
            get { return _questionary; }
            set { _questionary = value; }
        }
    }
}
